le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
↳ QTRS
↳ DependencyPairsProof
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
LE2(s1(x), s1(y)) -> LE2(x, y)
IF_MOD3(true, s1(x), s1(y)) -> MINUS2(x, y)
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
MOD2(s1(x), s1(y)) -> IF_MOD3(le2(y, x), s1(x), s1(y))
IF_MOD3(true, s1(x), s1(y)) -> MOD2(minus2(x, y), s1(y))
MOD2(s1(x), s1(y)) -> LE2(y, x)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
LE2(s1(x), s1(y)) -> LE2(x, y)
IF_MOD3(true, s1(x), s1(y)) -> MINUS2(x, y)
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
MOD2(s1(x), s1(y)) -> IF_MOD3(le2(y, x), s1(x), s1(y))
IF_MOD3(true, s1(x), s1(y)) -> MOD2(minus2(x, y), s1(y))
MOD2(s1(x), s1(y)) -> LE2(y, x)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS2(s1(x), s1(y)) -> MINUS2(x, y)
POL( MINUS2(x1, x2) ) = x2
POL( s1(x1) ) = x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
LE2(s1(x), s1(y)) -> LE2(x, y)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LE2(s1(x), s1(y)) -> LE2(x, y)
POL( LE2(x1, x2) ) = x2
POL( s1(x1) ) = x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
MOD2(s1(x), s1(y)) -> IF_MOD3(le2(y, x), s1(x), s1(y))
IF_MOD3(true, s1(x), s1(y)) -> MOD2(minus2(x, y), s1(y))
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MOD2(s1(x), s1(y)) -> IF_MOD3(le2(y, x), s1(x), s1(y))
Used ordering: Polynomial Order [17,21] with Interpretation:
IF_MOD3(true, s1(x), s1(y)) -> MOD2(minus2(x, y), s1(y))
POL( MOD2(x1, x2) ) = x1
POL( s1(x1) ) = x1 + 1
POL( IF_MOD3(x1, ..., x3) ) = max{0, x2 - 1}
POL( minus2(x1, x2) ) = x1
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
IF_MOD3(true, s1(x), s1(y)) -> MOD2(minus2(x, y), s1(y))
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(s1(x), s1(y)) -> minus2(x, y)
mod2(0, y) -> 0
mod2(s1(x), 0) -> 0
mod2(s1(x), s1(y)) -> if_mod3(le2(y, x), s1(x), s1(y))
if_mod3(true, s1(x), s1(y)) -> mod2(minus2(x, y), s1(y))
if_mod3(false, s1(x), s1(y)) -> s1(x)